<?php
 $area = $_REQUEST["area"];
 $section = $_REQUEST["section"];
 $module = "{$_SERVER["DOCUMENT_ROOT"]}/modules/section_header/templates";
 //$filename = basename(substr ("{$_REQUEST["image"]}",0,strpos("{$_REQUEST["image"]}",".")) . ".html");
 $filename = "{$module}/{$area}/{$section}/images/banner/text.html";
 if (file_exists($filename)) echo file_get_contents ($filename);
 else echo <<<STOP
  <h4>Find a course to<br>
  suit you...</h4>  
<p>Getting the right qualifications could make all the difference and will definitely have a big influence on how successful you can be in your career</p>
STOP;
?>

